package src.lab02.test02;

import java.util.Scanner;

/**
 * Created by 林云志 on 2017/10/13.
 */
public class Test02 {
    public static void main(String[] args) {
        Circular circular = new Circular();
        System.out.println("请输入圆的半径");
        Scanner sc = new Scanner(System.in);
        double radius = sc.nextInt();
        System.out.println("圆的面积为:"+circular.area(radius));
        System.out.println("圆的周长为:"+circular.perimeter(radius));

    }
}
